# -*- coding: utf-8 -*-

from odoo import api, fields, models


class ProjectTaskInherit(models.Model):
    _inherit = 'project.task'

    name = fields.Char(default=lambda self: self.env['ir.sequence'].next_by_code('project.task'))
